home *** CD-ROM | disk | FTP | other *** search
/ Journey to the Planets (B&N) / Journey to the Planets (1994)(Multicom)[Mac-PC].iso / pc / sun / sun.hc / stack_-1.xml < prev    next >
Extensible Markup Language  |  1994-03-10  |  4KB  |  27 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in.hc</name>
  5.     <id>-1</id>
  6.     <cardCount>7</cardCount>
  7.     <cardID>3057</cardID>
  8.     <listID>6532</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>640</width>
  14.         <height>480</height>
  15.     </cardSize>
  16.     <script>--------------------------------------------------------------------------------------------------------Multicom Publishing Inc.┬«----------------------------------------------------------------------------------------------------------------------------------System Handlers:-----------------------------on openStackhide menuBarhide titleBarcolorizeHCinitGlobalsopenPictureresetSystemPaletteloadPaletteloadTxtend openStackon resetSystemPaletteset cursor to busypicture "SYSTEM_COLORS",resource,rect,false,8set the rect of window "SYSTEM_COLORS" to "639,479,640,480"show window "SYSTEM_COLORS" -- show is needed to reset palette!close window "SYSTEM_COLORS"noPaintWhiteif there is a window "black" then ┬¼close window "black"end resetSystemPaletteon closeStacknoPaintWhitepalette "runMenu", "0,417"noPaintWhiteif there is a window "sunMenu"then close window "sunMenu"end closeStackon openPicture winName -- handle openPicture sent by Picture XCMDglobal gCurrWindowif winName <> "SYSTEM_COLORS" thenput winName into gCurrWindowend ifend openPictureon colorizeHCglobal gOKToColorizeif (gOKToColorize is empty) then pass colorizeHCend colorizeHCon initGlobalsglobal gGlobalsOKif gGlobalsOK is true then exit initGlobalsif LastHilites = "" then put "0,0,0,0,0,0,0" &return &"0"&return&"1" into LastHilitesput true into gGlobalsOKend initGlobals--------------------------Navigational Handlers---------------------------on loadPalettenoPaintWhitepalette "sunMenu", "0,417"  --opens navigational paletteif there is a window "runMenu" then ┬¼close window "runMenu"end loadPaletteon prepWinpicture "black",resource,rect,false,8     --draws a black screen before showing thumbnailset rect of window "black" to "0,0,640,480"noPaintWhiteshow window "black"end prepWinon goNextlock screengo nextunlock screenend goNexton goPrevlock Screengo previousunlock Screenend goPrevon goBacklock Screengo to card "Main Menu"  --takes you to this stack main menuunlock Screenend goBackon goEventlock screengo to cd "MAIN MENU"unlock screenend goEventon goSolarlock screengo to stack "HOME"unlock screenend goSolar-----------------------OPTIONS HANDLER------------------------------------on loadTxtglobal marker, printFieldput "PLANETS:SUN:SUN.TXT" into markerput "SUN" into printFieldend loadTxt---------------------------Check Environment Handlers----------------------on cHCinstall-- Check for correct environmentset cursor to busy--if checkEnviron() is not "OK" thengo HomegetHomeInfoexit to HyperCardend ifset cursor to busy--repeat until the lockScreen is falseunlock screenend repeat--end cHCinstall</script>
  17.     <background id="2640" file="background_2640.xml" name="MARSMAIN.BKGRND" />
  18.     <background id="4603" file="background_4603.xml" name="MARSMAIN.BKGRND" />
  19.     <card id="3057" file="card_3057.xml" marked="false" name="MAIN MENU" owner="2640" />
  20.     <card id="2315" file="card_2315.xml" marked="false" name="D1" owner="2640" />
  21.     <card id="4259" file="card_4259.xml" marked="false" name="D2" owner="2640" />
  22.     <card id="4735" file="card_4735.xml" marked="false" name="D3" owner="4603" />
  23.     <card id="5127" file="card_5127.xml" marked="false" name="D4" owner="4603" />
  24.     <card id="5444" file="card_5444.xml" marked="false" name="D5" owner="4603" />
  25.     <card id="5838" file="card_5838.xml" marked="false" name="E1" owner="4603" />
  26. </stack>
  27.